<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>delete message report</title>
<jsp:include page="/WEB-INF/jspf/header.jsp"></jsp:include>
</head>
<body class="metro">
	<div class="grid" style="padding-left: 15px;">
		<div class="row">
			<div class="span4">
				Welcome "${sessionScope.rslt.fname}"

				<div class="grid" style="padding-right: 20px;">
					<jsp:include page="/WEB-INF/jspf/leftmenu.jsp"></jsp:include>
				</div>

			</div>
			<div class="span8">
				<div class="div-header">
					<h3 class="head-title">Deleted message report</h3>
				</div>
				Msg is ${requestScope.delmsg}
				<c:choose>
					<c:when test="${not empty requestScope.delmsg}"> Message deleted 
					Message deleted successfully
					</c:when>
					<c:otherwise>Error in Deleting Message</c:otherwise>
				</c:choose>
			</div>
		</div>  
		<div class="row">
			<div class="span8 offset4">
				<div class="div-header">
					<h3 class="head-title">You have ${sessionScope.msgsCount}
						mails in your mail box</h3>
				</div>
				<ul>
					<c:forEach var="msg" items="${sessionScope.msgs}">
						<li>${msg.message}</li>
					</c:forEach>
				</ul>
			</div>
		</div>
	</div>
</body>
</html>